package com.bw.mapper;

import com.bw.entity.Dict;
import com.bw.entity.EmployeeAdd;
import com.bw.entity.EmployeeInfo;
import com.bw.entity.EmployeeQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmployeeMapper {

    List<Dict> listDept();

    List<Dict> listGroup();

    List<EmployeeInfo> list(EmployeeQuery query);

    void delById(@Param("id") String id);

    void add(EmployeeAdd employeeAdd);

    EmployeeInfo selectByNum(String num);
}
